package com.logisticsrepair.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.logisticsrepair.entity.WorkerEntity;
import com.logisticsrepair.service.WorkerService;
import com.logisticsrepair.mapper.WorkerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author huahua
* @description 针对表【worker(维修用户)】的数据库操作Service实现
* @createDate 2022-03-31 12:47:20
*/
@Service
public class WorkerServiceImpl extends ServiceImpl<WorkerMapper, WorkerEntity>
    implements WorkerService{

    @Autowired
    WorkerMapper workerMapper;

    @Override
    public WorkerEntity queryWorkerEmailInRepairOrdersByWorkerOpenid(String orderId) {
        return workerMapper.queryWorkerEmailInRepairOrdersByWorkerOpenid(orderId);
    }
}




